// axios 发送ajax请求
import request from '@/utils/request'

export default{
  //Native下单
  nativePay(productId, userId) {
    return request({
      url: '/api/wx-pay/native/' + productId + "/" + userId,
      method: 'post'
    })
  },

  // 取消订单
  cancel(orderNo) {
    return request({
      url: '/api/wx-pay/cancel/' + orderNo,
      method: 'post'
    })
  }
}
